package com.sky.controller.user;


import com.sky.result.Result;
import com.sky.service.ShopService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;


@RestController
@RequestMapping("/user/shop")
@Slf4j
public class UserShopController {
    @Autowired
    ShopService shopService;

    @GetMapping("/status")
    public Result getStatus(){
        return shopService.getStatus();
    }
}




